/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package apus.persistence;

import apus.entity.AbstractEntity;
import java.util.List;

/**
 * The <code>AbstractDAO</code> interface represents common methods of every DAO.
 * @author  Maxim Vasilevsky
 * @author  Roman Dyatkovsky
 * @since APUS v0.3
 */
public interface AbstractDAO <EntityType extends AbstractEntity> {
        
    void create (EntityType entity);
    EntityType read (int id);
    void update (EntityType entity);
    void delete (EntityType entity);
    List<EntityType> findAll();
        
}
